package com.gc.server.vo.down;


import lombok.Data;

import java.util.Date;

import com.alibaba.excel.annotation.*;

import java.io.Serializable;


import com.gc.server.entity.SchoolShopEntity;
import com.gc.server.vo.SchoolShopVo;


/**
 * 学校药店关系集合实体
 * 表名 school_shop
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date ${datetime}
 */
@Data
public class SchoolShopDown implements Serializable {
    @ExcelIgnore
    private static final long serialVersionUID = 1L;

    //
    @ExcelProperty("")
    private Long id;

    //学校ID
    @ExcelProperty("学校ID")
    private Long schoolId;

    @ExcelProperty("学校名")
    private String schoolName;

    @ExcelProperty("学校编号")
    private String schoolCode;

    @ExcelProperty("药店名")
    private String shopName;

    @ExcelProperty("药店编号")
    private String shopCode;

    //药店ID
    @ExcelProperty("药店ID")
    private Long shopId;

    //备注
    @ExcelProperty("备注")
    private String remark;


    public SchoolShopDown() {

    }

    public SchoolShopDown(SchoolShopVo vo) {
        SchoolShopEntity entity = vo.getEntity();
        this.setId(entity.getId());

        this.setSchoolId(entity.getSchoolId());

        this.setShopId(entity.getShopId());

        this.setRemark(entity.getRemark());

    }


}
